 import axios from "axios";
const url = import.meta.env.VITE_backurl_dalian;

export const getFileData = (params) => {
    return axios.get(url + "/dingTalk/fileData", {
        params: params,
        headers: {
            "Content-Type": "application/json",
        },
    })
}

export const getTideData = (params) => {
    return axios.get(url + "/dingTalk/tideData", {
        params: params,
        headers: {
            "Content-Type": "application/json",
        },
    })
}

export const getYbData = (params) => {
    return axios.get(url + "/dingTalk/ybData", {
        params: params,
        headers: {
            "Content-Type": "application/json",
        },
    })
}

export const getYjData = (params) => {
    return axios.get(url + "/dingTalk/yjData", {
        params: params,
        headers: {
            "Content-Type": "application/json",
        },
    })
}

export const getZybData = (params) => {
    return axios.get(url + "/dingTalk/zybData", {
        params: params,
        headers: {
            "Content-Type": "application/json",
        },
    })
}